﻿function GetContent(actionUrl, content) {
    $.get(actionUrl, function (data) { $('#' + content).html(data); });
}

function PostContent(url, content, params) {
    $.post(url, params, function (data) { $('#' + content).html(data); });
}
function PostContentSync(url, content, params) {
    $.ajax({
        type: "POST",
        url: url,
        async: false,
        data: params,
        success: function (data) { $('#' + content).html(data); }
    });
}
function OverOut(id, type) {
    if (type == 0) {
        $('#' + id).css("background-color", "Gray");
    }
    else {
        $('#' + id).css("background-color", "Green");
    }
}
